package com.rhb.cg.distribute;

import java.io.File;
import java.io.FilenameFilter;
import java.io.IOException;
import java.util.List;


import junit.framework.TestCase;

public class DistributeTest extends TestCase {
	protected void setUp(){
	}
	
	public void testDistribute(){
		String from_dir = "D:\\java\\xgcg\\output";
		String to_dir = "d:\\workspace1\\erp5";
		String merge_definition_name = "D:\\java\\xgcg\\distribute-definition.xml";
		
		Distribute d = new Distribute();
		try {
			d.distribute(from_dir,to_dir,merge_definition_name);
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
}
